package com.yyfax.pay.common.model.to;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 支付表单提交参数
 * 
 * @author buyi
 * @date 2017-09-18 17:50:43
 * @since v2.0.0
 */
@SuppressWarnings("serial")
public class YYPayFormReq implements Serializable {
	@NotBlank(message = "merchantCode不能为空")
	private String merchantCode;
	@NotBlank(message = "sign不能为空")
	private String sign;
	@NotBlank(message = "params不能为空")
	private String params;

	public String getMerchantCode() {
		return merchantCode;
	}

	public void setMerchantCode(String merchantCode) {
		this.merchantCode = merchantCode;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getParams() {
		return params;
	}

	public void setParams(String params) {
		this.params = params;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
	}

}
